<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_id" data-rule="required" min="0" data-source="staff/index" class="form-control selectpage" name="row[staff_id]" type="text" value="{$row.staff_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Flowid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-flowid" data-rule="required" class="form-control" name="row[flowid]" type="text" value="{$row.flowid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Flowinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-flowinfo" class="form-control " rows="5" name="row[flowinfo]" cols="50">{$row.flowinfo|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="contractStatusList" item="vo"}
            <label for="row[contract_status]-{$key}"><input id="row[contract_status]-{$key}" name="row[contract_status]" type="radio" value="{$key}" {in name="key" value="$row.contract_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
